# unname = ['AAA','BBB','CCC']
# name = []
# while unname:
#   current = unname.pop()
#   print('now is',current)
#   name.append(current)

# print('name are:',name)

# lists = ['AAA','BBB','CCC','AAA','DDD','AAA']
# while 'AAA' in lists:
#   lists.remove('AAA')
#   print(lists)
# print('over:',lists)

response = {}
isStop = True

while isStop:
  name = input('enter a name:')
  work = input(name + '\'s work is:')
  response[name] = work
  repeat = input('would you add other? (yes/no):')
  if repeat == 'no':
    isStop = False

for k,v in response:
  print(k,'\'s work is',v)
